package com.qf.staff.common.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "yu_supplier")
@Data
@TableName(value = "yu_supplier")
public class SupplierQo {
    public static final String COL_SUPPLIER_ID = "supplier_id";
    public static final String COL_SUPPLIER_NAME = "supplier_name";
    public static final String COL_ADMIN = "admin";
    public static final String COL_PHONE = "phone";
    public static final String COL_ENTRY_NUMBER = "entry_number";
    public static final String COL_MONEY = "money";
    public static final String COL_STATUS = "status";
    /**
     * 主键
     */
    @TableId(value = "supplier_id", type = IdType.INPUT)
    private Integer supplierId;
    /**
     * 供应商名称
     */
    @TableField(value = "supplier_name")
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
    /**
     * 管理员
     */
    @TableField(value = "`admin`")
    @ApiModelProperty(value = "管理员")
    private String admin;
    /**
     * 手机号
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "手机号")
    private String phone;
    /**
     * 项目数
     */
    @TableField(value = "entry_number")
    @ApiModelProperty(value = "项目数")
    private Integer entryNumber;
    /**
     * 销售金额
     */
    @TableField(value = "money")
    @ApiModelProperty(value = "销售金额")
    private Double money;
    /**
     * 0代表无效，1代表有效
     */
    @TableField(value = "`status`")
    @ApiModelProperty(value = "0代表无效，1代表有效")
    private Integer status;
}